<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="assetMenu" />
<meta name="nav" content="0" />
<meta name="acc" content="_detection"/>
<title>检测单位列表</title>
<!--  通用情况下 不引入 js css  表单验证  js 放置到页面中 -->
<%-- ui tabs --%>

<script type="text/javascript"
	src="<c:url value='/ext/ui/jquery-ui-1.8.12.custom.min.js'/>"></script>
<script>
function showDetectcontract(url){
	var obj = new Object();
	mm = showDialogWindow(url);
	document.location.reload();
}
function showDept(url){
	var obj = new Object();
	mm = showDialogWindow(url);	
}
function showUserDetails(url){
	var obj = new Object();
	showDialogWindow(url);
}
</script>
</head>
<body>
<div id="heading" class="detect"><h6>检测单位列表</h6></div>
<form action="detection.action" method="post" id="mainForm"
	class='yform'>
	<div id="content">
  <table  border="0" cellspacing="0" cellpadding="1">
    <tr>
      <th>序号</th>
      <th>实验室名称</th>
      <th>检测单位名称</th>
      <th>主要人员</th>
    </tr>
   <c:forEach items="${page.result }" var="detectcontract" varStatus="status">
    <tr>
      <td>${status.count}</td>
      <td><a href="#"  class="underline" onclick="showDetectcontract('${ctx}/project/labs/detectcontract!input.action?id=${detectcontract.id}&projectId=${projectId}');">${detectcontract.contractorder}</a></td>
       <td><a href="#"  class="underline" onclick="showDept('${ctx}/project/labs/organization!input.action?id=${detectcontract.orgId}&projectId=${projectId}&typeId=5&deptId=${detectcontract.partid}&signid=${detectcontract.signid }');">
      <pt:labels type="dept" argument1="${detectcontract.partid }" single="true"></pt:labels></a> </td>
       <td>
       <a href="#" class="underline"  onclick="showUserDetails('${ctx}/project/labs/ext/userdepartment!userDetails.action?organizationId=${detectcontract.orgId}&projectId=${projectId}&typeId=5&deptId=${detectcontract.partid}')">进入</a>
       </td>
    </tr></c:forEach>
  </table>
  </div>
</form>
</body>
</html>
